package com.ken.springcloud;

import com.ken.springcloud.anno.RemarkInfo;
import com.ken.springcloud.enums.UsedComponent;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * <ul>
 * <li>Title: ConsumerDeptApplication_80</li>
 * <li>Description: TODO </li>
 * </ul>
 *
 * @author swc
 * @date 2021-08-26 11:40
 */
@RemarkInfo(usedComponent = {UsedComponent.Eureka,UsedComponent.Ribbon},remark = "ribbon作为负载均衡,config包下提供了简单的负载均衡的算法")
@SpringBootApplication
@EnableFeignClients(basePackages="com.ken.springcloud")//启动类这个一定 一定不能漏
@ComponentScan(basePackages="com.ken.springcloud")
public class ConsumerDeptFeignApplication_80 {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerDeptFeignApplication_80.class,args);
    }
}
